<?php
class Game extends WebLoginBase{
	
	public final function getServerDatado(){
		$this->display('game/getServerData.php');
	}
	public final function numbers(){
		$type=$_GET['numbers'];
		$nowtime=date('Y-m-d');
		$todayStart = strtotime($nowtime);
		$todayEnd = $todayStart+86400;
		$sql="select time,number,data from {$this->prename}data where type=$type and time between $todayStart and $todayEnd order by time desc";
		$result=$this->getRows($sql);
		foreach($result as $var){
			$val['data'][]=	explode(",",$var['data']);
			$val['number'][]=$var['number']; 
			$val['time'][]=date('H:i',$var['time']);
		}				
		echo json_encode($val);
	}
	public final function statbetList(){
		$this->display('game/stat/betList.php');
	}
	
	public final function statstatTotalBet(){
		$this->display('game/stat/statTotalBet.php');
	}

	public final function statstatBet(){
		$this->display('game/stat/statBet.php');
	}
	
	public final function includeuser_bet_info(){
		$this->display('game/include/user_bet_info.php');
	}
	
	public final function includegame_rule(){
		$this->display('game/include/game_rule.php');
	}

	public final function getLotteryDatado(){
		$this->display('game/getLotteryData.php');
	}
	
	public final function getUserMsgdo(){
		$this->display('game/getUserMsg.php');
	}
	
	public final function getHistorydo(){
		$this->display('game/getHistory.php');
	}
	public final function cqssc(){
    $this->display('game/cqssc/index.php');
}

    public final function cqsscsol(){
        $this->display('game/cqssc/sol.php');
    }

    public final function cqsschistory(){
        $this->display('game/cqssc/history.php');
    }

    public final function jsssc(){
        $this->display('game/jsssc/index.php');
    }

    public final function jssscsol(){
        $this->display('game/jsssc/sol.php');
    }

    public final function jssschistory(){
        $this->display('game/jsssc/history.php');
    }
	
	public final function pk10(){
		$this->display('game/pk10/index.php');
	}
	
	public final function pk10sol(){
		$this->display('game/pk10/sol.php');
	}
	
	public final function pk10com(){
		$this->display('game/pk10/com.php');
	}

    public final function pk10history(){
        $this->display('game/pk10/history.php');
    }
    public final function jspk10(){
        $this->display('game/jspk10/index.php');
    }

    public final function jspk10sol(){
        $this->display('game/jspk10/sol.php');
    }

    public final function jspk10com(){
        $this->display('game/jspk10/com.php');
    }

	public final function jspk10history(){
		$this->display('game/jspk10/history.php');
	}

	public final function gdkl10(){
		$this->display('game/gdkl10/index.php');
	}
	
	public final function gdkl10sol(){
		$this->display('game/gdkl10/sol.php');
	}

	public final function gdkl10q1(){
		$this->display('game/gdkl10/q1.php');
	}

	public final function gdkl10q2(){
		$this->display('game/gdkl10/q2.php');
	}

	public final function gdkl10q3(){
		$this->display('game/gdkl10/q3.php');
	}

	public final function gdkl10q4(){
		$this->display('game/gdkl10/q4.php');
	}

	public final function gdkl10q5(){
		$this->display('game/gdkl10/q5.php');
	}

	public final function gdkl10q6(){
		$this->display('game/gdkl10/q6.php');
	}

	public final function gdkl10q7(){
		$this->display('game/gdkl10/q7.php');
	}

	public final function gdkl10q8(){
		$this->display('game/gdkl10/q8.php');
	}

	public final function gdkl10zm(){
		$this->display('game/gdkl10/zm.php');
	}

	public final function gdkl10lm(){
		$this->display('game/gdkl10/lm.php');
	}

	public final function gdkl10history(){
		$this->display('game/gdkl10/history.php');
	}
	
	public final function xync(){
		$this->display('game/xync/index.php');
	}
	
	public final function xyncsol(){
		$this->display('game/xync/sol.php');
	}
	
	public final function xyncq1(){
		$this->display('game/xync/q1.php');
	}

	public final function xyncq2(){
		$this->display('game/xync/q2.php');
	}

	public final function xyncq3(){
		$this->display('game/xync/q3.php');
	}

	public final function xyncq4(){
		$this->display('game/xync/q4.php');
	}

	public final function xyncq5(){
		$this->display('game/xync/q5.php');
	}

	public final function xyncq6(){
		$this->display('game/xync/q6.php');
	}

	public final function xyncq7(){
		$this->display('game/xync/q7.php');
	}

	public final function xyncq8(){
		$this->display('game/xync/q8.php');
	}

	public final function xynczm(){
		$this->display('game/xync/zm.php');
	}

	public final function xynclm(){
		$this->display('game/xync/lm.php');
	}

	public final function xynchistory(){
		$this->display('game/xync/history.php');
	}
	
	public final function pcdd(){
		$this->display('game/pcdd/index.php');
	}

	public final function pcddhistory(){
		$this->display('game/pcdd/history.php');
	}

	public final function bjkl8(){
		$this->display('game/bjkl8/index.php');
	}

	public final function bjkl8sol(){
		$this->display('game/bjkl8/sol.php');
	}

	public final function bjkl8history(){
		$this->display('game/bjkl8/history.php');
	}
	
	public final function gd11x5(){
		$this->display('game/gd11x5/index.php');
	}
	
	public final function gd11x5sol(){
		$this->display('game/gd11x5/sol.php');
	}
	public final function gd11x5zx(){
		$this->display('game/gd11x5/zx.php');
	}

	public final function gd11x5lm(){
		$this->display('game/gd11x5/lm.php');
	}

	public final function gd11x5history(){
		$this->display('game/gd11x5/history.php');
	}
	
	public final function jsk3(){
		$this->display('game/jsk3/index.php');
	}
	
	public final function jsk3history(){
		$this->display('game/jsk3/history.php');
	}

	public final function xyft(){
		$this->display('game/xyft/index.php');
	}
	
	public final function xyftsol(){
		$this->display('game/xyft/sol.php');
	}
	public final function xyftcom(){
		$this->display('game/xyft/com.php');
	}

	public final function xyfthistory(){
		$this->display('game/xyft/history.php');
	}

	public final function jslhc(){
		$this->display('game/jslhc/index.php');
	}

	public final function jslhc2m(){
		$this->display('game/jslhc/2m.php');
	}
	
	public final function jslhcsb(){
		$this->display('game/jslhc/sb.php');
	}

	public final function jslhctx(){
		$this->display('game/jslhc/tx.php');
	}

	public final function jslhchx(){
		$this->display('game/jslhc/hx.php');
	}

	public final function jslhctws(){
		$this->display('game/jslhc/tws.php');
	}

	public final function jslhczm(){
		$this->display('game/jslhc/zm.php');
	}

	public final function jslhczmt(){
		$this->display('game/jslhc/zmt.php');
	}

	public final function jslhczm16(){
		$this->display('game/jslhc/zm16.php');
	}

	public final function jslhcwx(){
		$this->display('game/jslhc/wx.php');
	}

	public final function jslhcptyxws(){
		$this->display('game/jslhc/ptyxws.php');
	}

	public final function jslhczx(){
		$this->display('game/jslhc/zx.php');
	}

	public final function jslhc7sb(){
		$this->display('game/jslhc/7sb.php');
	}

	public final function jslhczhongxiao(){
		$this->display('game/jslhc/zhongxiao.php');
	}

	public final function jslhczxbz(){
		$this->display('game/jslhc/zxbz.php');
	}

	public final function jslhclxlw(){
		$this->display('game/jslhc/lxlw.php');
	}

	public final function jslhclm(){
		$this->display('game/jslhc/lm.php');
	}

	public final function jslhchistory(){
		$this->display('game/jslhc/history.php');
	}
    public final function lhc(){
        $this->display('game/lhc/index.php');
    }

    public final function lhc2m(){
        $this->display('game/lhc/2m.php');
    }

    public final function lhcsb(){
        $this->display('game/lhc/sb.php');
    }

    public final function lhctx(){
        $this->display('game/lhc/tx.php');
    }

    public final function lhchx(){
        $this->display('game/lhc/hx.php');
    }

    public final function lhctws(){
        $this->display('game/lhc/tws.php');
    }

    public final function lhczm(){
        $this->display('game/lhc/zm.php');
    }

    public final function lhczmt(){
        $this->display('game/lhc/zmt.php');
    }

    public final function lhczm16(){
        $this->display('game/lhc/zm16.php');
    }

    public final function lhcwx(){
        $this->display('game/lhc/wx.php');
    }

    public final function lhcptyxws(){
        $this->display('game/lhc/ptyxws.php');
    }

    public final function lhczx(){
        $this->display('game/lhc/zx.php');
    }

    public final function lhc7sb(){
        $this->display('game/lhc/7sb.php');
    }

    public final function lhczhongxiao(){
        $this->display('game/lhc/zhongxiao.php');
    }

    public final function lhczxbz(){
        $this->display('game/lhc/zxbz.php');
    }

    public final function lhclxlw(){
        $this->display('game/lhc/lxlw.php');
    }

    public final function lhclm(){
        $this->display('game/lhc/lm.php');
    }

    public final function lhchistory(){
        $this->display('game/lhc/history.php');
    }
	
}

?>